package com.ease.dao.ibatis.typehandler;

import com.ease.common.enums.ValuableEnum;

/**
 * 
 * @author nathanleewei
 * 
 */
public class ParameterizedValuableEnumTypeHandler<T extends ValuableEnum> extends ValuableEnumTypeHandler<T> {

	public static <T extends ValuableEnum> ParameterizedValuableEnumTypeHandler<T> newInstance(Class<T> mappedClass) {
		ParameterizedValuableEnumTypeHandler<T> newInstance = new ParameterizedValuableEnumTypeHandler<T>();
		newInstance.setMappedClass(mappedClass);
		return newInstance;
	}

}
